package com.ybl.store.backend.dao.mapper.deal;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ybl.store.backend.dao.entity.deal.LogDealProductNumberDO;
import com.ybl.store.backend.dto.resp.deal.LogDealProductNumberExportRespDTO;
import com.ybl.store.backend.dto.resp.deal.LogDealProductNumberPageRespDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogDealProductNumberMapper extends BaseMapper<LogDealProductNumberDO> {
    
    List<LogDealProductNumberPageRespDTO> pageLogDealProductNumber(Page<LogDealProductNumberPageRespDTO> page, @Param(Constants.WRAPPER) QueryWrapper<LogDealProductNumberDO> queryWrapper);

    Long count(@Param(Constants.WRAPPER) QueryWrapper<LogDealProductNumberDO> queryWrapper);

    List<LogDealProductNumberExportRespDTO> export();
}
